<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0" />
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    <title>医师核查</title>
    <link rel="stylesheet" type="text/css" href="../css/api.css" />
    <link rel="stylesheet" type="text/css" href="../css/style.css" />
    <link rel="stylesheet" type="text/css" href="../css/aui.2.0.css" />
    <style>
        .hospital>div {
            width: 100%;
            height: 40px;
            margin-top: 5px;
        }

        .hospital>div:nth-of-type(odd) {
            background-color: #ddd;
        }

        .hospital>div:nth-of-type(even) {
            background-color: #8bcdfb;
        }

        .hospital>div>span {
            padding-left: 5px;
            display: inline-block;
            height: 40px;
            line-height: 40px;
        }

        .aui-list-item-inner>div {
            display: -webkit-flex;
            display: flex;
            justify-content: space-around;
            align-items: center;
            width: 100%;
        }

        .aui-list-item-inner>div>span:nth-child(1) {
            text-align: left;
            padding-left: 10px;
            -webkit-box-sizing: border-box;
            -moz-box-sizing: border-box;
            -ms-box-sizing: border-box;
            -o-box-sizing: border-box;
            box-sizing: border-box;
        }

        .aui-list-item-inner>div>span:nth-child(1) {
            flex: 0.3;
        }

        .aui-list-item-inner>div>span {
            flex: 1;
            text-align: center;
        }
    </style>
</head>

<body>
    <main id="app">
        <header id="header" class="aui-bar aui-bar-nav">
            <a class="aui-pull-left aui-btn" onclick="closewin()">
                <span class="aui-iconfont aui-icon-left"></span>
            </a>
            <div class="aui-title">高压氧科医师核查开舱</div>
        </header>
        <section class="hospital">

        </section>
    </main>
</body>

</html>

<script src="../script/api.js" charset="utf-8"></script>
<script src="../script/vue.js" charset="utf-8"></script>
<script type="text/javascript">
    apiready = function() {
        var vm = new Vue({
            el: '#app',
            data: {
                searchInfo: ''
            },
        })


        var header = $api.byId('header'); // 获取头部
        $api.fixStatusBar(header); // 处理ios兼容

        var pos = $api.offset(header); // 获取位置数据
        var F_id= api.pageParam.F_id; //获取参数  F_id       舱次ID
        api.openFrame({ // 打开Frame
            name: 'DoctorCheck-frame',
            url: 'DoctorCheck-frame.html',
            pageParam: {F_id: F_id},  //传递参数
            rect: {
                x: 0,
                y: pos.h, // 头部留位置
                w: 'auto',
                h: 'auto'
            },
            bounces: false,
            vScrollBarEnabled: false
        });
    }

    function closewin() {
      api.closeWin({
          name: 'DoctorCheck-header'
      });
    }
</script>
